Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Printing /
Chapter 3 - Page Formatting and Dialog Box Customization / Page Formatting and Dialog Box Customization Reference
Constants and Data Types for Paper-Type Collection Items


Units Information

The collection item ID for units information is defined in the following enumeration:

enum { gxUnitsTag = 'unit' };    
QuickDraw GX stores units information in the gxUnitsInfo structure:

struct gxUnitsInfo {
   char     units;               
} ;
Field Description
units
A character that contains the units for a paper-type object. Units can be specified in picas, millimeters, and inches.
QuickDraw GX defines paper-type object units in the following enumeration:

enum {
   gxPicas  =  (char) 0,   
   gxMms    =  (char) 1,   
   gxInches =  (char) 2    
};
Constant descriptions

gxPicas
If set, QuickDraw GX uses picas to define paper-type object units.
gxMms
If set, QuickDraw GX uses millimeters to define paper-type object units.
gxInches
If set, QuickDraw GX uses inches to define paper-type object units.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help